
public class BookTest {
	public static void main(String[] args) {
		Book one = new Book();
		one.name = "《java从入门到放弃》";
		one.author = "肥东三哥";
		one.press = "北大青鸟教育出版社";
		one.date = "2019.1.1";
		one.show();

		Book two = new Book();
		two.name = "《java从删库到跑路》";
		two.author = one.author;
		two.press = one.press;
		two.date = one.date;
		two.show();
	}
}
